import os
path = "E:/日常资料/工作需求文档/XU"
# path = os.getcwd()
count = 0
for fn in os.listdir(path):
    os.path.isfile(path+'/'+fn)
    print(fn)
    count = count+1

print(count)